package com.c.ctgproject.entity

class SingleCarPartEntity {
    /**
     * status : 0
     * msg : null
     * data : {"total":1,"list":[{"carId":null,"doSellValue":null,"carCode":"BFC-20200902-000015","enterTime":null,"carModel":null,"carVin":null,"partsName":null,"partsPrice":null,"partsNumber":null,"partsWeight":null,"ownerPlate":null,"outTime":null,"userName":"多角色","createPersonId":null}],"pageNum":1,"pageSize":1,"size":1,"startRow":0,"endRow":0,"pages":1,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1}
     * success : true
     */
    var status = 0
    var msg: Any? = null
    var data: DataBean? = null
    var isSuccess = false

    class DataBean {
        /**
         * total : 1
         * list : [{"carId":null,"doSellValue":null,"carCode":"BFC-20200902-000015","enterTime":null,"carModel":null,"carVin":null,"partsName":null,"partsPrice":null,"partsNumber":null,"partsWeight":null,"ownerPlate":null,"outTime":null,"userName":"多角色","createPersonId":null}]
         * pageNum : 1
         * pageSize : 1
         * size : 1
         * startRow : 0
         * endRow : 0
         * pages : 1
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         */
        var total = 0
        var pageNum = 0
        var pageSize = 0
        var size = 0
        var startRow = 0
        var endRow = 0
        var pages = 0
        var prePage = 0
        var nextPage = 0
        var isIsFirstPage = false
            private set
        var isIsLastPage = false
            private set
        var isHasPreviousPage = false
        var isHasNextPage = false
        var navigatePages = 0
        var navigateFirstPage = 0
        var navigateLastPage = 0
        var list: List<ListBean>? = null
        var navigatepageNums: List<Int>? = null

        fun setIsFirstPage(isFirstPage: Boolean) {
            isIsFirstPage = isFirstPage
        }

        fun setIsLastPage(isLastPage: Boolean) {
            isIsLastPage = isLastPage
        }

        class ListBean {
            /**
             * carId : null
             * doSellValue : null
             * carCode : BFC-20200902-000015
             * enterTime : null
             * carModel : null
             * carVin : null
             * partsName : null
             * partsPrice : null
             * partsNumber : null
             * partsWeight : null
             * ownerPlate : null
             * outTime : null
             * userName : 多角色
             * createPersonId : null
             */
            var carId: Any? = null
            var doSellValue: Any? = null
            var carCode: String? = null
            var enterTime: Any? = null
            var carModel: Any? = null
            var carVin: Any? = null
            var partsName: Any? = null
            var partsPrice: Any? = null
            var partsNumber: Any? = null
            var partsWeight: Any? = null
            var ownerPlate: Any? = null
            var outTime: Any? = null
            var userName: String? = null
            var createPersonId: Any? = null

        }
    }
}